<%@ page session="false"%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib	prefix="x" tagdir="/WEB-INF/tags"%>
<!-- inbox -->
<div class="at_tab_l">
<div class="pagesMag mt10 clearfix">
<p class="magtab">
<input type="checkbox" id="ck1" name="ck1" onClick="selectAll(this)" />  
<span class="magspan">全选 筛选：</span>
<select name="type" onChange="settype(this)">
<option value="0" selected>全部</option>
<option value="1" >未读</option>
<option value="2" >已读</option>
</select>
<a class="at_but b_2_g" href="#" onClick="doSubmit('del')"><u></u>删除</a>
<span class="fc6 ml10 magspan"><em class="realAlert mr5" style="padding:4px 10px;"><i class="orange1">${dro.newCnt }</i>封未读</em>共有<i class="orange1">${dro.total }</i>封信息</span>
</p>
</div>
<form id="frm_msg" name="frm_msg" method="POST" action="">
<input type="hidden" id="mod" name="mod" value="inbox" />
<table class="SMSList mt10">
<c:forEach items="${dro.page.list}" var="m"><%--<c:set var="m" value="${messages[r.msgid]}"/> --%><tr<%--<c:if test="${r.status=='1' }"> class="no_read"</c:if> --%>>
	<td width="50px"><input type="checkbox" name="target[]" id="target_id" value="1183865.message" /></td>
	<td class="pInfor">
		<dl>
		<dt><a href="http://shop.zhubajie.com/2555265" target="_blank">
		<img id="avatar" src="<%=request.getContextPath() %>/avator/${m.createUid }_small.jpg" class="touxiangall"  border="0" onerror="this.onerror=null;this.src='<%=request.getContextPath() %>/avator/default_small.gif'"/></a></dt>
		<dd><a href="http://shop.zhubajie.com/2555265">${m.createUname }</a><br />${m.createdTime } </dd>
		</dl>
	</td>
	<td class="sInfor" align="left">
		<c:choose>
			<c:when test="${system}">
			<a href="<%=request.getContextPath() %>/message/readsys?msgId=${m.msgId}" class="fc3">${m.title}</a><br /><span class="sysInfor">${m.content }</span>
			</c:when>
			<c:otherwise>
			<a href="<%=request.getContextPath() %>/message/show?msgId=${m.msgId}" class="fc3">${m.title}</a><br /><span class="sysInfor">${m.content }</span>
			</c:otherwise>
		</c:choose>
	</td>
	<td class="cInfor"><a href="javascript:void(0)" onClick="vdel(path + '/message/delete?mid=${m.msgId}')"></a></td>
</tr></c:forEach>
</table>
</form>
<div class="pagesMag mt10 clearfix">
	<p class="magtab">
	<input type="checkbox" id="ck1" name="ck1" onClick="selectAll(this)" />  
	<span class="magspan">全选 筛选：</span>
	<select name="type" onChange="settype(this)">
	<option value="0" selected>全部</option><option value="1" >未读</option><option value="2" >已读</option>
	</select>
	<a class="at_but b_2_g" href="javascript:void(0)" onClick="doSubmit('del')"><u></u>删除</a>
	<span class="fc6 ml10 magspan"><em class="realAlert mr5" style="padding:4px 10px"><i class="orange1">0</i>封未读</em>共有<i class="orange1">1</i>封信息</span>
	</p>  
	<span class="pageList"></span>
</div>
<%-- 分页 --%>
<x:page page="${dro.page }" />
<%-- 分页 --%>
</div>
<!-- inbox -->
